import Vue from "vue";
import App from "./App.vue";
import store from "./store";

Vue.config.productionTip = false;

// new Vue({
//   render: (h) => h(App),
//   store,
//   beforeCreate() {
//     Vue.prototype.$bus = this;
//   },
// }).$mount("#app");
new Vue({
  el: "#app",
  store,
  beforeCreate() {
    Vue.prototype.$bus = this;
    Vue.prototype.$store = store;
  },
  render: (h) => h(App),
});
